import request from '@/utils/request'
// 
export default {
  // 获取企业类型
    getAllEnvType() {
        return request({
          url: `/user/work/enterprise/getAllEnvType`,
          method: 'get',
        })
      },

      // 插入企业信息的数据
      insertEnv(obj){
        return request({
          url: `/user/work/enterprise/insertEnvInfo`,
          method: 'post',
          data: obj
        })
      },

      // 插入工作信息表格
      insertWorkInfo(position,workCode,time,code){
        return request({
          url: `/user/work/workInfo/save`,
          method: 'post',
          data: {position,workCode,time,code}
        })
      },

      // 判断是否已经填写
      judgeStatus(){
        return request({
          url: `/user/work/workInfo/judgeStatus`,
          method: 'get'
        })
      },

}